package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.TaskTagKeywordDevice;
import com.xjscrm.console.param.operatePlan.TaskTagKeywordDeviceQuery;
import com.xjscrm.console.vo.TaskTagKeywordDeviceVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TaskTagKeywordDeviceMapper {
    int addTaskTagKeywordDevice(TaskTagKeywordDevice taskTagKeywordDevice);

    List<TaskTagKeywordDeviceVo> getTaskTagKeywordDeviceList(TaskTagKeywordDeviceQuery taskTagKeywordDeviceQuery);

    int deleById(@Param("id") Long id, @Param("merId") Long merId);

    void update(TaskTagKeywordDevice taskTagKeywordDevice);


}
